#pragma once
#include "DataSource.h"
#include <string>
class FileDataSource:public DataSource
{
public:
	FileDataSource(std::string rootPath);
	virtual ~FileDataSource(void);
	virtual int GetStatusJson(char byteBuffe[],int& bufferSize) ;
	virtual int GetSlotsJson(char byteBuffer[],int& bufferSize) ;
	virtual int GetAdListJson(int soltId,int maxResultCount,char byteBuffer[],int& bufferSize);
private:
	std::string m_strRootPath;
};
